package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 申请单-Do实体
 * Created by zhangyongli on 2020/01/09
 */
@Data
@Table(value = "REQ_ORDER_INFO",keys = {"req_order_id"})
public class ReqOrderInfoDo implements Serializable {
    
    /** 申请单唯一标识  */
    @Column("req_order_id")
    private String reqOrderId;

    /** 1000-提币申请单
            2000-兑换申请单  */
    @Column("req_type")
    private String reqType;

    /** 1000-待处理(处理中）
            2000-处理完成  */
    @Column("order_status")
    private String orderStatus;

    /**   */
    @Column("create_date")
    private Date createDate;

    /** 钱包在区块链上地址  */
    @Column("wallet_address")
    private String walletAddress;

    /**   */
    @Column("account_id")
    private String accountId;

    /**   */
    @Column("remark")
    private String remark;

    //构造方法 为了封装数据
    public ReqOrderInfoDo(String reqOrderId, String reqType, String orderStatus, Date createDate, String walletAddress, String accountId, String remark) {
        this.reqOrderId = reqOrderId;
        this.reqType = reqType;
        this.orderStatus = orderStatus;
        this.createDate = createDate;
        this.walletAddress = walletAddress;
        this.accountId = accountId;
        this.remark = remark;
    }
    public ReqOrderInfoDo(){

    }

    
}
